package com.dy.course.mapper;

import java.util.List;
import java.util.Map;

import com.dy.course.common.MyMapper;
import com.dy.course.entity.CourseInfo;
import com.dy.course.model.Course;

public interface CourseMapper extends MyMapper<Course> {
	public int insertCourseUser(Map<String,Object> params);
	public int insertCourseTime(Map<String,Object> params);
	public List<CourseInfo> selectCycleCourseCreator(CourseInfo course);
	public List<CourseInfo> selectCycleCourseUser(CourseInfo course);
	public CourseInfo selectTemplate(Long id);
	public List<CourseInfo> selectTemplate(CourseInfo course);
}